<?php

class backendConfiguration extends sfApplicationConfiguration
{
  public function configure()
  {
      $this->dispatcher->connect('admin.signedin', array('UserManager', 'adminSignedIn'));
	  $this->dispatcher->connect('controller.change_action', array('UserManager', 'productManagerRestricter'));
	  
	  $this->dispatcher->connect('product.edit', array('UserManager', 'productManagerProductRightsChecker'));
	  $this->dispatcher->connect('product.update', array('UserManager', 'productManagerProductRightsChecker'));
	  $this->dispatcher->connect('product.pics.edit', array('UserManager', 'productManagerProductRightsChecker'));
	  $this->dispatcher->connect('product.parameters.edit', array('UserManager', 'productManagerProductRightsChecker'));
	  $this->dispatcher->connect('product.connected.edit', array('UserManager', 'productManagerProductRightsChecker'));


  }
  

}
